package com.ljq.cksp.pojo;

/**
 * @Author:ljq
 * @Date:2020/2/21
 */
public class Result {
    private int status;
    private String msg;
    private Object data;

    public Result() {
        status = 200;
        msg = "操作成功";
        data = null;
    }

    public Result(Object data) {
        this();
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
